import request from '@/utils/request'

// 查询员工信息表列表
export function listEmployee_info(query) {
  return request({
    url: '/employee_info/employee_info/list',
    method: 'get',
    params: query
  })
}

// 查询员工信息表详细
export function getEmployee_info(id) {
  return request({
    url: '/employee_info/employee_info/' + id,
    method: 'get'
  })
}

// 新增员工信息表
export function addEmployee_info(data) {
  return request({
    url: '/employee_info/employee_info',
    method: 'post',
    data: data
  })
}

// 修改员工信息表
export function updateEmployee_info(data) {
  return request({
    url: '/employee_info/employee_info',
    method: 'put',
    data: data
  })
}

// 删除员工信息表
export function delEmployee_info(id) {
  return request({
    url: '/employee_info/employee_info/' + id,
    method: 'delete'
  })
}
